package com.jieao.content.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jieao.content.domain.ArticleComment;
import com.jieao.content.dto.ArticleCommentDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ArticleCommentMapper extends BaseMapper<ArticleComment> {
    List<ArticleCommentDto> pageCommentList(@Param("article") ArticleComment articleComment);

    List<ArticleCommentDto> selectCommentList(@Param("articleId") Long articleId,@Param("userId") Long userId);
}
